<?php
$orders = Mage::getModel('sales/order')->getCollection()
->addAttributeToFilter('increment_id', $_GET['order_id'])
->addAttributeToFilter('customer_email', $_GET['customer_email']);

foreach ($orders as $order){
	if($order) {
		echo '<p>Your order '.$_GET['order_id'].' has been canceled</p>';
		//var_dump ($orders);
	}
	elseif(empty($order)) {
		echo 'The order cannot be canceled';
	}
}
?>



